package org.bright.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties(prefix = "user")
@Data
public class UserProperties {
    private String name;
    private String sex;
    private Integer age;

}
